package com.icss.flow.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.icss.flow.pojo.entity.TMetaEntity;
import lombok.Data;

import java.util.List;

/**
 * @ClassName: TMetaFieldDTO
 * @Author: ls
 * @CreateTime: 2024-04-08  11:21
 * @Description: TODO
 * @Version: 1.0
 */
@Data
public class TMetaFieldDTO {
    private static final long serialVersionUID = 260973166617998595L;

    @TableId(type = IdType.AUTO)
    private Integer autoId;

    private String fieldId;

    private Integer entityCode;

    private String title;

    private String info;

    private String physicalName;

    private String type;

    private Integer hidden;

    private String description;

    private Integer display;

    private Object props;

    private List<Object> validate;

    private Integer nullable;

    private Integer creatable;

    private Integer updatable;

    private Integer idFieldFlag;

    private Integer nameFieldFlag;

    private Integer mainDetailFieldFlag;

    private Integer defaultMemberOfListFlag;

    private String referTo;

    private String referenceSetting;

    private String fieldViewModel;

    @TableLogic
    private Integer deleted;




    @TableField(exist = false)
    private TMetaEntity owner;


    //字段类型sql
    @TableField(exist = false)
    private String typeSql;



    @TableField(exist = false)
    private String oldTypeSql;
}
